Visitor Counter

Fat Burning

Wednesday, June 10, 2015

Inbuilt Laser Project Keyboard for iPhone 5

Apple’s yet to be released smart phone is already creating lots of positive buzz in the tech circuit. While there are the usual bits and scraps thrown every now and then by the company to keep user interest alive, people are still in the dark as to the features that will be actually included in iPhone 5. One of the killer applications that the new smart phone might have is the built-in laser keyboard capability, which is sure to make users drop their current cell phones and make a run for iPhone 5.
According to iPhone 5 keyboard news doing the rounds, iPhone 5 will be equipped with a an inbuilt laser projection technology that can turn any flat surface into a virtual keyboard. Actually, the laser projection keyboard has been around for quite some time. The technology was invented and patented by IBM engineers in 1992. The computer, iPad or iPhone fitted with this technology projects an image of a keyboard on a flat surface in front of it, and the user can use the virtual keyboard just as he would use a normal keyboard. But, hey, wait a second, iPhone 4S has already go that capability, so what’s the big deal? Yes, it has, but you will need a USB wireless device or Bluetooth for that, and they don’t look so good on an iPhone, do they? You won’t need them with iPhone 5.

Seeing how a lot of users struggle with the small keyboards available with the current cell phones, a built-in virtual laser projection keyboard is exactly the thing that iPhone needs. A virtual laser projection keyboard is the same size as a normal keyboard and it will be a boon for people with fat fingers, bad eyesight and bad typing speed. It also makes typing much easier and faster for normal users. It will give the iPhone 5 the kind of flexibility offered by computers and iPads. If the USB-less and Bluetooth-less laser keyboard has really been incorporated in iPhone 5, then it will take Apple light years ahead of its competitors. According to the current iPhone 5 keyboard news, it does look very plausible.



Being at the forefront of smart phone technology, Apple has a very tough task trying to meet the expectations of its fans. With every new release, users expect new ground-breaking innovations that will place them ahead of owners of other brands. If Apple doesn’t want to disappoint them, then iPhone 5 simple can’t not have an inbuilt laser project keyboard. 


Used android phones and their cons and pros

With the recent boom in smart phones the market is now flooded with smart phones, one better than the other. Although the competition is quite high, the price range is still quite high too. But if you look a few years back, the applications and facilities offered by smart phones of today are far better compared to the price rating of that time. Since the market is ever changing and people are constantly switching to a newer phone, the smart thing to do will be to get used android phones.


Due to the recent trend of constantly switching phones, the market for used android phones is hot too. You would be surprised regarding the amount of choice you can get based on used phones. This just goes to show how often people tend to change their phones. One small disadvantage is that it will be very hard to find used android phones that have been recently released since very few people will change them. Even if you get them, the price will be very close to that of getting a new one.
When purchasing used android phones do not just fall for the model and the price at hand. Someone might give you a good phone for a very low price but you need to be smart as the phone and look for the flaws. People usually change phones when they encounter a problem or have noted a flaw but cannot ask for a refund. Look closely. The first things to take notice of are the water seals. They are located in the casing and battery of the cell. Check if they are still white. If they are not, well the phone has been drenched before and even though it might turn on, there might still be small flaws. Next thing to do with used android phones is to check whether all the features of the phone are unlocked.

The up side to buying used android phones is that their apps and registration. The user might have installed paid apps and registered to paid services which you can still enjoy after purchasing the phone. This is an added bonus and often people do not charge for such things. Android phones know how to get the job done, if you get the correct phone it might work better than a new one.  

Core Java Tutorial | Servlet Tutorials | Jsp tutorials | Hibernate Tutorial


Sunday, May 31, 2015

What Is Static Keyword in Java With Example

Java allocates recollection after instantiation via new operator. But there is one exclusion to this rule, static keyword.

Static keyword is used with data and methods of the class:

  • If you want to have only a particular piece of storage for a exacting field, regardless of how many objects of that class are twisted, or even if no objects are shaped.                                    
  •  If you need a method that isn't connected with any particular object.  

static associate of the class are also referred to as class data ( and class methods) or in general class members. Class name is the favorite way to refer to static members of the class, though you can use objects as well. You can't apply static keyword to limited variables.

public class StaticDemo { 
      private static int count; // initialized to default value of int i.e. 0  
  
      public static int getCount() { 
           return count++; 
      } 
  
      public static void main(String[] args) { 
           System.out.println(" Count: " + StaticDemo.getCount()); 
           StaticDemo sd = new StaticDemo(); 
           System.out.println(" Count: " + sd.getCount()); 
      } 
 } 

production :
 Count: 0
 Count: 1
Note, primary call to method, getCount() is by Class name but the second call is during an instance of class. Output returned is dependable. This case proves a point that there is a exacting storage for static data. 

It's debatable if static methods are Object receptiveness as you call methods without creating matter. My offer, avoid using a lot of static methods.



static Initialization and static building block
Below 2 are one and same :
       private static int count = 10;  //static initialization

or

       private static int count;
       static{    //static block
          count=10;
       }      

And you can have multiple statements inside static block.
 


Order of Execution
Below case demonstrate the order of invocation :

public class StaticLoadDemo {  
      static {  
           System.out.println("Class StaticDemo loading...");  
      }  
   
      static final int c = 5; // static initialization  
      static int a;  
   
      static { // static block  
           a = c;  
           System.out.println("value :" + a);  
      }  
   
      StaticLoadDemo() {  
           System.out.println("Constructor");  
      }  
   
      public static void main(String[] args) {  
           new StaticLoadDemo();  
      }  
   
      static {  
           System.out.println("final static block");  
      }  
 }  

Output:
Class StaticDemo loading...
value :5
final static block
Constructor

Important Points:
  • Static block/initialization gets invoked correct after class gets full. Output of above class confirms the same.
  • Static block is called only one time (during the lifetime)
  • If StaticLoadDemo class extends a base class named as Base. Then static blocks of Base class will be invoked first, followed by subsequent subclasses.
  • Order of initialization is static primary, if they haven't been by now initialized by previous object creation, and then non-static component.

Inheriting static component
static components are connected with the class and not the individual object. So if a method is static, it doesn't behave polymorphic ally.

 class Super { 
      public static void printHello() { 
           System.out.println(" hello --base class"); 
      }  
 } 
  
 public class Derived extends Super { 
      public static void printHello() { 
           System.out.println(" hello --derived class"); 
      } 
  
      public static void main(String[] args) { 
           Super s = new Derived(); 
           s.printHello(); 
      } 
 } 
Output: 
hello--base class

Memory allocation and  de-allocation
static methods (in fact all methods) as well as static data are stored in the PermGen part of the heap, because they are division of the reflection data (class related data, not instance related data). 
1.            static primitive variables are stored in PermGen (Permanent Generation) space.
2.            If static data references to an Object; then reference is stored on PermGen but the actual object gets stored in heap (young/old generation).




Thursday, May 7, 2015

OOPS Concept in Java - Example Tutorial

Hi Guy’s
So this blog is all regarding the OOPS concepts. Let’s start from the very basic concept of Object and Class.

More On Concepts

  1. Introduction
  2. Inheritance
  3. Polymorphism
  4. Encapsulation

What is an Object?
An object is a software collection of related state and performance.
Software objects are regularly used to model the real-world objects that you find in daily life. Real-world substance share two individuality: They all have state and behavior.

Some examples of real world object can be : Bike , Chair , Dogs, have state (name, color, breed, hungry) and behavior (barking, fetching, wagging tail).

Software objects are theoretically comparable to real-world objects:
They too consist of state and connected behavior.An object stores its state in fields (variables in some programming languages) and exposes its performance through methods (functions in a few programming languages).

Methods function on an object’s inside state and serve as the primary device for object-to-object message.

Defeat inside state and requiring all communication to be performed through an object’s methods is known as ( data encapsulation — a fundamental principle of OOP )

What Is a Class?
A class is a blueprint or example from which objects are produced.

What Is Inheritance?
Inheritance provides a great and natural device for organizing and structuring your software.

How to achieve Inheritance in Java ?
extends keyword is used to inherit features of a class.


What Is an Interface?
An interface is a deal between a class and the external world.
When a class tools an interface, it promises to provide the behavior published by that interface. 

What Is a Package?
A package is a namespace for organizing classes and interfaces in a logical manner.
Placing your code into packages makes large software projects easier to manage.



Monday, May 4, 2015

History of Java

Java history is attractive to know. The history of java starts from Green Team. Java group members (also known as Green Team), initiated a innovative mission to build up a language for digital plans such as set-top boxes, televisions etc.
James Gosling

For the green group members, it was an proceed concept at that time. But, it was right for internet programming. Later, Java knowledge as incorporated by Netscape.

At present, Java is used in internet training, mobile strategy, games, Internet-business solutions etc. There are agreed the major points that describes the the past of java.

A) Mike Sheridan, James Gosling, and Patrick Naughton initiated the Java language development in June 1991. The little group of sun engineers called Green group.
B) First planned for small, embedded systems in electronic appliances like set-top boxes.
C) First of all, it was called "Green talk" by James Gosling and file addition was .gt.

( Special Type of Versions )
There are many java versions that has been released.


  • JDK Alpha and Beta (1995)
  • JDK 1.0 (23rd January, 1996)
  • JDK 1.1 (19th February, 1997)
  • J2SE 1.2 (8th December, 1998)
  • J2SE 1.3 (8th May, 2000)
  • J2SE 1.4 (6th February, 2002)
  • J2SE 5.0 (30th September, 2004)
  • Java SE 6 (11th December, 2006)
  • Java SE 7 (28th July, 2011)
Tag: 

Tuesday, April 21, 2015

About of Java Programming

Java is a programming language originally developed by James Gosling, Mike Sheridan, and Patrick Naughtoninitiated the Java language project in June 1991.originally designed for small, embedded systems in electronic appliances like set-top boxes.initially called Oak and was developed as a part of the Green project In 1995, Oak was renamed as "Java". Java is just a name not an acronym.originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995.  The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to byte code that can run on any Java virtual machine (JVM) regardless of computer architecture.

The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licences. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java (byte code compiler), GNU Classpath (standard libraries), and Iced Tea-Web (browser plugin for applets).

Main word of Java language.

  1. There were five primary goals in the creation of the Java language.
  2. It must be "simple, object-oriented and familiar".
  3. It must be "robust and secure".
  4. It must be "architecture-neutral and portable".
  5. It must execute with "high performance".
  6. It must be "interpreted, threaded, and dynamic".


Java version history
Major release versions of Java, along with their release dates:

  1. JDK 1.0 (January 21, 1996)
  2. JDK 1.1 (February 19, 1997)
  3. J2SE 1.2 (December 8, 1998)
  4. J2SE 1.3 (May 8, 2000)
  5. J2SE 1.4 (February 6, 2002)
  6. J2SE 5.0 (September 30, 2004)
  7. Java SE 6 (December 11, 2006)
  8. Java SE 7 (July 28, 2011)
  9. Java SE 8 (March 18, 2014)


Features of Java
There is given many features of Java. They are also called Java buzzwords.

  1. Simple
  2. Object-oriented
  3. Platform independent
  4. Secured
  5. Robust
  6. Architecture neutral
  7. Portable
  8. Dynamic
  9. Interpreted
  10. High Performance
  11. Multithreaded
  12. Distributed
Javatportal Is a Java Informar. Which Provides a Solution For All Problems In Help You In All The Manner: Core Java  - ServletJDBC - JSP - HadoopSpringServlet InterfaceTreeset ClassPage DirectiveHtmlSqlJava Question and Answer

JavaTportal

Saturday, April 18, 2015

What is Java?

Core Java means core works of Java education words. Java T portal provides java training according to the present condition of IT business. Core Java is the most well-liked stage sovereign and Object Oriented Language. It provides great platform to increase windows and web application with flexibility that these programs can be executed with any operating system. The Core Java training language is a modern, evolutionary computing words that combines an graceful language design with authoritative features that were earlier available primarily in area languages. In addition to the core language workings, Java platform software distributions contain lots of powerful, behind software libraries for tasks such as record, network, and graphical user interface (GUI) programming.

The Java programming language is a accurate object-oriented (OO) training language. The main suggestion of this declaration is that in order to write programs, We practice the course which covers all the topic of Java with point of view of Core Java professionals. Java under topics Like: Java IO, Java Exception Handling, JDBC, Inerfaces in Java, Java String Handling, JAVA OOPs Concepts, JAVA Basics Concepts, etc.. We also keep in mind the topic cover by sun-certification and try to make you great for certification. We cover all needed topic of object-oriented programming in Core Java and this is the strong motivation for you to hope our courses.


Java T Portal is a Online Core Java Training with established knowledge in training useful core java applications as well as given that hands-on training to growing java developers. We have a committed team of knowledgeable java trainers who offer concentrated and dedicated teaching on all core and general aspects of core java development.


Tag: Core Java Tutorial, JDBC Tutorial, Java OOPs, Java String Tutorial,


JavaTportal