Search for notes by fellow students, in your own course and all over the country.
Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.
Document Preview
Extracts from the notes are below, to see the PDF you'll receive please use the links above
Java for Beginners
Java is being used in many places these days
...
from the Android studio till the backend
...
so we are going to
finish it in one video
...
we'll start with installation
...
the editor that we 'll be using would be Eclipse
...
you
will download Eclipse from the website of Eclipse Eclipse
...
you can download eclipse for Java
developers as we 've to do Java development
...
so my version of Eclipse has switched to its dark mode and I love Dark mode
...
you can write your code
...
and
below there is the console window in which your output is displayed
...
and i 'll name it Javainonevideo
...
eclipse ide has been properly installed
...
system
...
println and you can write anything here
...
you store variable in every programming language
and they have different syntax
...
Just like in math you assumed x= something, same way here
...
how is variable declared
...
you can only store underscore —,
underscore and $ sign and alphanumeric characters
...
that the user has written this
particular
...
Java has specified that you can not use our keyword
while defining the variable
...
you can only store the 'true ' and 'false ' value in
the 'boolean'
...
There are some operators, that they will allow only these type of
operations
...
in Java, the first word of
the variable will start with small letter and the words after that will start in capital letter
...
so we made 2 numbers and we added them
to find the sum
...
so it summed up these numbers and printed 357
...
' means number is incremented or decrement by 1 by 1
...
'modulo'
...
Object Oriented Programming
Every class has two things properties and behavior
...
each
person has some property name and age
...
for
example, the first one is walk, second is eat
...
p1
...
P1, call its 'eat ' function/ method
...
the second one that i wrote was p2
...
and it has
...
now
...
Polymorphism is a Greek word made up of 2 words
...
and walk is also taking forms once with steps argument and
another without arguments
...
Then both will call their respective functions
...
because it is being checked at compile time
...
and we 'll be understanding their need and implementing them
...
According to my experience
...
there is collection
framework and collection interface
...
collection framework is
huge which includes collection interface in it
...
segregation segregate data structures according to their property
...
If you ever need to use it
...
learnarraylist is basically like normal arrays, just like you make arrays in Java
...
here we get a scalable
...
array list internally uses array and increases and decreases the size of the
array itself
...
When you write this line arraylist = new array list ; then at that time an empty array is created in it
because you have n't added any element till now
...
after that as you add 10 elements more in it
...
If its size is 'n' it 'll increase its size from 'n ' to 'n+n/2 +1'
and its time to increase the size
...
so in this way you can get element of any
index
...
if you 're
removing an element from the middle, all the elements after that will shift by one place to the left side
...
If it is present in the list
...
List is an array list which has a twostring method which is invoked in system
...
println
...
so you can see that 'the element is ' in this way our entire list is being iterated
...
let 's see how you 're able to implement stack and it also comes under list
...
this way you can
directly make its object
...
After that, if you 've to add an element in it,
the the function is 'push' you can check by peeking, which element is present on top at this time
...
you can see lion,, dog,, horse and cat is in the stack
...