Java by PC
Online classes available! say no to cramming, ask us a reason!!
04/05/2020
Java By PC YouTube channel is live now! First video uploaded...checkout and gimme the feedback!
Core Java 01 - Encapsulation We will start with OOPS concept, taking Encapsulation first in this tutorial! (Don't worry about practical implementation for now, we will take it in further...
Online JAVA classes by PC! Say no to cramming, ask us a reason!
Detailed and clear knowledge of core Java is guaranteed.
Attend demo class, then decide!!
Contact/WhatsApp me - 9996715566/9130096261
09/06/2018
'Java By PC' is back!
Anyone who wants to learn Java, can contact me and trust me you will not regret your decision of learning it with me... Give it a try.. 2 free trial classes! Classes at Wakad, Pune... Online classes also available :)
19/08/2017
Interfaces can have static and default methods now! And also enjoy the new useful concept, introduced in JAVA 8 - "LAMBDAS" ...I personally feel bad reading it because it's not object oriented...but truly useful!! Enjoy...
Can you initialize an instance data member before the run of constructor while creating an object? :O Post your answers below in the comment section...
Why main() function is static?
Comment!!
Are constructors used to create an object?
Comment!!
Why constructors can't return any value although they are also just a function?
Comment your answers!!
Difference between malloc and calloc?
There are two differences between these functions:-
-->First, malloc() takes a single argument (the amount of memory to allocate in bytes), while calloc() needs two arguments (the number of variables to allocate in memory, and the size in bytes of a single variable).
-->Secondly, malloc() does not initialize the memory allocated, while calloc() initializes all bytes of the allocated memory block to zero.
Function Description
malloc -- allocates the specified number of bytes
realloc -- increases or decreases the size of the specified block of memory. Reallocates it if needed
calloc -- allocates the specified number of bytes and initializes them to zero
free --- releases the specified block of memory back to the system
Is object just a buffer in a memory area?
Comment your answers!!
ENCAPSULATION
What is Encapsulation?
An analogy can be made here with the notion of a CAPSULE, which not only encloses its contents, but also protects it from the exterior environment!!
-->To group together properties and behaviors of a class type...
-->To reduce the collisions of the same named variables...
-->Reduces system complexity...
-->Security enhancement due to restricted access to outside class...
-->Increases robustness...
Click here to claim your Sponsored Listing.
Category
Contact the school
Website
Address
Dutta Mandir Road
Pune
Opening Hours
| Monday | 9am - 5pm |
| Tuesday | 9am - 5pm |
| Wednesday | 9am - 5pm |
| Thursday | 9am - 5pm |
| Friday | 9am - 5pm |
| Saturday | 9am - 5pm |
| Sunday | 9am - 5pm |