音が流れない場合、再生を一時停止してもう一度再生してみて下さい。
ツール 
画像
Telusko
208092回再生
#32 Array of Objects in Java

Check out our courses:

AI Powered DevOps with AWS - Live Course :- go.telusko.com/AIDevOps-AWS
Coupon: TELUSKO10 (10% Discount)

Complete Java Developer Course Batch-4: go.telusko.com/Complete4
Coupon: TELUSKO10 (10% Discount)

Master Java Spring Development : go.telusko.com/masterjava
Coupon: TELUSKO20 (20% Discount)

For More Queries about Course, WhatsApp or Call: +919008963671

website : www.telusko.com/

Instagram : www.instagram.com/navinreddyofficial/
Linkedin : in.linkedin.com/in/navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
TELUSKO IOS App : apple.co/3SsgmU2
Discord : discord.gg/D8hWe9BqfF

In this lecture we are discussing about array of objects:
-- If we create array by default value assign for each type of array
-- The new operator automatically initializes the elements of an array to their default value, which, for example, is zero for all numeric types
and null for all reference types.
-- why we should we know length of array using length property?
-- There is array out of bound exception.

How to create array of object and what does it means?
-- just like to create array for int, float, char we can create array of object
-- when we we create array of object it means we create an array which can hold the reference of object.

e.g
class Student{

}

Student st=new Student();
we know st is reference and new Student() is object.
and st hold reference of student object.

similarly whenever we create array of object
Student sts[]=new Student[5];
it means we can create an array of Student reference type which can hold 5 different reference of
Student object.
sts[0]=new Student();
sts[1]=new Student();
sts[2]=new Student();
sts[3]=new Student();
sts[4]=new Student();

Github repo : github.com/navinreddy20/Javacode.git

Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko

More Learning :

Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6

JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq

Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA

Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB

NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L

Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu

Donation:
PayPal Id : navinreddy20
www.telusko.com/

コメント