Software in java

 You  to  Everyone 13:33

Good Afternoon ma'am

Aswathy  to  Everyone 13:33
Good afternoon ma'am

daksha foundation  to  Everyone 13:33
Good afternoon all

Sreelakshmi  to  Everyone 13:33
Good Afternoon Ma'am

Robin  to  Everyone 13:33
Good afternoon madam

daksha foundation  to  Everyone 13:34
Which one is leave today ?
hasna and amal is on leave?

Aswathy  to  Everyone 13:34
yes

Sreelakshmi  to  Everyone 13:34
yes

daksha foundation  to  Everyone 13:34
what happend to hasna

Sreelakshmi  to  Everyone 13:35
stomach pain

daksha foundation 13:36
is she in hostel?

Sreelakshmi 13:36
yes

daksha foundation  to  Everyone 13:35
what about amal

Robin  to  Everyone 13:36
hand and body weak pain

daksha foundation  to  Everyone 13:36
okay
tomorrow and today i'm in work form home
so please do the assignments correctly

Sreelakshmi  to  Everyone 13:37
ok ma'am

Aswathy  to  Everyone 13:37
Okay madam

You  to  Everyone 13:37
okay ma'am

daksha foundation  to  Everyone 13:37
wednesday im come back to check all the assignments all works

Robin  to  Everyone 13:37
okay madam

daksha foundation  to  Everyone 13:37
clear?

Sreelakshmi  to  Everyone 13:38
yes

daksha foundation  to  Everyone 13:38
okay

Amarjith As  to  Everyone 13:38
 i don't see wednesday

daksha foundation 13:38
why?

Amarjith As 13:38
leave me class

daksha foundation 13:39
what happend?

Amarjith As 13:39
i did send you email.

daksha foundation 13:40
oh okay..will check

daksha foundation  to  Everyone 13:38
so amarjith what was the previous day topic?
please tell me the previous day topic?
amarjith?

Amarjith As  to  Everyone 13:42
Array , Loop...

daksha foundation  to  Everyone 13:42
yes
the last topic was how to create an array and how to retreive the values in an array
Robin please give an example of integer array
aswathy please give meth example of string array

Robin  to  Everyone 13:47
int( ] numbers = {1,2,3,4};
system.out.println (number[3]);

daksha foundation 13:48
okay so which value is the output

Robin 13:49
4

Aswathy  to  Everyone 13:49
String[] colours={red, green, blue, yellow}
System.out.println(colour[1]);

daksha foundation  to  Everyone 13:50
so the output is green right?

Aswathy  to  Everyone 13:50
yes ma'am

daksha foundation  to  Everyone 13:50
is it clear the array concepts?
?

Sreelakshmi  to  Everyone 13:51
yes

You  to  Everyone 13:51
l understand ma'am

Aswathy  to  Everyone 13:51
yes ma'am

Amarjith As  to  Everyone 13:51
yes

daksha foundation  to  Everyone 13:51
good
so can we create array with boolean datatype?

Sreelakshmi  to  Everyone 13:53
no

Aswathy  to  Everyone 13:53
No

daksha foundation  to  Everyone 13:53
why
i want an array with boolean values so what we will do?

You  to  Everyone 13:54
yes
?
Boolean using true and false

daksha foundation  to  Everyone 13:57
yes

You  to  Everyone 13:57
ok

daksha foundation  to  Everyone 13:57
you can create the array with boolean values

You  to  Everyone 13:57
ok

daksha foundation  to  Everyone 13:58
bool methods[] = {true, false}

daksha foundation  to  Everyone 13:58
in this we can create the boolean array

daksha foundation  to  Everyone 13:58 (Edited)
clear?

You  to  Everyone 14:01
class Main {
    public static void main(String[] args) {
        System.out.println("Boolean");
        int x = 10;
        int y = 9;
       
        System.out.println(x>y);
    }
}

output: true
System.out.println(x<y);

output: false

daksha foundation  to  Everyone 14:02
in this case the x and y is integer values right?

You  to  Everyone 14:02
yes

daksha foundation  to  Everyone 14:03
where you create the array of boolean values

You 14:04
which is true and false, right?

daksha foundation 14:04
what it means?

You 14:06
true using 1 and false 0

daksha foundation  to  Everyone 14:03
this is only the condition checking programs
not created the array of values

daksha foundation  to  Everyone 14:05
Next topic is array of objects

daksha foundation  to  Everyone 14:07
so first you create a class called 'students'
create the class
class Students = {

Sreelakshmi  to  Everyone 14:08
ok

daksha foundation  to  Everyone 14:08
with name and age variable

You 14:09
only?

daksha foundation 14:14
yes

daksha foundation  to  Everyone 14:08
create the class and send your screenshots

daksha foundation  to  Everyone 14:08
clear?

You  to  Everyone 14:09
ok

Sreelakshmi  to  Everyone 14:13
?

daksha foundation  to  Everyone 14:16
in a single student we have store the details we used in this way
in this case we only store the neethu details clear?

Sreelakshmi  to  Everyone 14:17
yes

daksha foundation  to  Everyone 14:19
what about others

daksha foundation  to  Everyone 14:19
is it clear?

You 14:20
yes

daksha foundation  to  Everyone 14:19
in this way we cteare one class we can olny store the one studdnt details

Robin  to  Everyone 14:19
l didn't understand

Aswathy  to  Everyone 14:19
I didn't understand that

daksha foundation  to  Everyone 14:20
will give me some example in our class
we have a software class and it have 7 members right?
?

Amarjith As  to  Everyone 14:21
Yes

You  to  Everyone 14:21
yes

daksha foundation  to  Everyone 14:21
yess

Robin  to  Everyone 14:21
yes

daksha foundation  to  Everyone 14:21
so we have 7 students in software class

Amarjith As  to  Everyone 14:22
Yss

You  to  Everyone 14:22
ys

daksha foundation  to  Everyone 14:22
so i want to select the robin details in a class
i want to know the robin name and age
so what will i do?
i check the ohaan and take the robin details right?

Amarjith As  to  Everyone 14:23
ys

daksha foundation  to  Everyone 14:24
so one is selecting is simple
i want robin, amarjith and aswathy
at a time i want select more than one in a class
3 students details in a class
so its not simple in the first method sreelakshmi done
clear
in sreelakshmi's code only retreive the neethus details only

You  to  Everyone 14:26
okay, l some understand ma'am

daksha foundation  to  Everyone 14:26
okay help others to understand tsand

You  to  Everyone 14:27
ok

class student{
String name;
int age;
publich setStudent(String name, int age){
this.name = name;
this.age = age;
}
publich void getStudent(){
System.out.println(name+age);
}

}
in this way we ctreate the class of students
after then we add the list in main class

daksha foundation  to  Everyone 14:38 (Edited)
public static void main(String args[]){
Students[] students = new Student[3];

students[0] =new Student( "sreelaskhmi", 22);

for (int i = 0; i < students.length; i++) { students[i].display(); }
}

daksha foundation  to  Everyone 14:41
in this i only add the sreelakshmi details
same as you add all trainess details

Amarjith As  to  Everyone 14:41
ok

daksha foundation  to  Everyone 14:42
first do the program in programiz after then will explain
after done submit the screenshot

You 14:42
okay ma'am

Comments

Popular posts from this blog

Group finance

Favorite