Posts

Showing posts from October, 2017

Java 8 features

Language-level support for lambda expressions; unofficially under Project Lambda Default methods (virtual extension methods) which make multiple inheritance possible in Java. a JavaScript runtime which allows developers to embed JavaScript code within applications. Annotation on Java Types. Unsigned Integer Arithmetic. Repeating annotations. Date and Time API. Statically-linked JNI libraries. Launch JavaFx applications. These are the features currently added into java 8,which has features as that of java 7 and also is a little bit advanced one.Java 7 is no longer available to download from it parent site(Oracle(dot)com). web development company in bangalore

Serialization and deserialization in Java

In Java Object Serialization is implemented with the help of ObjectInput and ObjectOutput interfaces, which extends DataInput and DataOutput interfaces, respectively. ObjectOutputStream class and the ObjectInputStream class implement the ObjectOutput interface and the ObjectInput interface, respectively. These two classes provides some set of methods which helps in writing and reading binary form of Object and Primitive values (int,long,double etc.). Serialization  is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called  deserialization . This process are mainly implemented by  web design company in bangalore

A comparison on Android Studio and Eclipse IDE for android development

Build Tools Android Studio utilizes the fast growing Gradle build system. It builds on top of the concepts of Apache Ant and Apache Maven but it also introduces a Groovy DSL (Domain-Specific Language) that allows for scripted builds which opens up many automation possibilities like uploading your beta .apk to TestFlight for testing. Eclipse on the other hand uses Apache Ant as its main build system which a very robust XML based build system that many Java developers may already be familiar with. Advanced Code Completion/Refactoring Both IDEs feature the standard Java code auto completion but in the case of Android Studio, Google has baked in deeper support for specific Android code and refactoring. Android Studio can refactor your code in places where it’s just not possible using Eclipse and ADT. In addition, in my opinion IntelliJ’s Java auto completion seems more “intelligent” and predicts better what I want to do so there is definitely an improvement in this area over Eclips...