Saturday, 27 May 2017

BOXING and UNBOXING (Java)

---------------------------------------------------------------------------------------------------------------------
Well it's not what you see on the YouTube rather than its a Topic when you read about the Wrapper Classes.

Now What are Wrapper Classes?
So the Answer is simple, you have heard about the Primitive data types. So during development it was difficult to use the Primitive data types because if they had used Primitive data types then there was a possibility that their files would have altered the data. This created a need for Objects to use instead of the directly using them.
Now, the Objects accept the properties of the primitive data types. this is why we need Wrapper classes. 
Wrapper classes are the Subclass of the Number class. 
Diagram of Number Class and its subclasses
_______________________________________________________________________________

And now comes the Boxing and Unboxing.

So, Converting primitive data types into object is called boxing and the vice versa is called Unboxing. They are done by Compiler so the User doesn't have to do much.

Tuesday, 16 May 2017

What will be the next Update in Android after Nougat?


Nougat was released on 9 March 2016(The alpha version) and then officially on August 22, 2016. We know some of the important features that we got from this Update.
 Whether, it's Split Screen or Notifications redesigning(You can also set the priorities of the Notifications).

So the Next 'Android O' will be coming soon. And there are many guessing about the name going on with "Oreo, Orange, etc." It's pretty much possible that the name will be Android Oreo.

But the name doesn't matter as the user will judge it on the basis of its performance and appearance. We already know some of the features like the picture-in-picture multitasking and some new emoji s introduced.

Updates available for the Device:

  • Nexus 5P, Nexus 6P, Nexus Player
  • Pixel C, Pixel, Pixel XL

It's Beta version is out there and you can download it from Google but it's going through a developing stage so it will contain Bugs for sure. So download at your own risk. It will be officially released between August to September 2017.


Thursday, 11 May 2017

New Feature of Java

Multi- resolution Image API

How to include: import java.awt.image;

Use: Basically image package was used for creating and modifying images. (Some classes: BufferdImage, ColorModel, etc..)

MultiResolutionImage encapsulates a set of images of different resolutions(many images of different height and width in pixels) and then allows us to modify them according to our requirements.