Thursday, March 31, 2016

Java package in Open Eyes IT Solution



java service in Open Eyes
java service in Open Eyes

Package

  1. Organizing Classes and Interfaces in Packages.
  2. Package as Access Protection
  3. Defining Package.
  4. CLASSPATH Setting for Packages.
  5. Making JAR Files for Library Packages
  6. Import and Static Import
  7. Naming Convention For Packages

Tuesday, March 29, 2016

why JAVA at Open Eye

JAVA at Open eyes IT 

  • Industry Compliant Syllabus
  • Multi-Platform Demonstration
  • Product Based Training
  • Real-Time Case Studies
  • Use of Latest Tools & Technology
  • Workshops on New Technologies
  • SCJP Orientation Classes



Others keys:

GUI programming

GUI programming:

  • Designing Graphical User Interfaces in Java
  • Components and Containers
  • Basics of Components
  • Using Containers
  • Layout Managers
  • AWT Componets
  • Adding a Menu to Window
  • Extending GUI Features Using Swing Components
  • Java Utilities (java.util Package)
  • The Collection Framework 
    java types
    java

Thursday, March 24, 2016

about openeyes

Open Eyes IT Solution is a US based software outsourcing and solution provider company. We offer outsourced product development, custom development, IT outsourcing services and with highly focus on qualitative, timely delivery and cost-effective. With a pool of highly skilled software engineers Openeyes offers its clients the value-added solutions, technical skills, accountability and industry knowledge that help to reduce their operating costs, deliver custom applications on time and on budget.Since its establishment, the company has achieved outstanding success in developing and delivering a stream of innovative products, services and solutions in the given field. Working with some of the world leading business, it has earned the reputation as a supplier of the most reliable software solutions.
Open Eyes IT Solution is an Entrepreneurship for software development and mobile application development. From a normal website to e-commerce,school management system,mobile application,etc we do this all.In IT Sector we Open Eyes IT Solution is an Entrepreneurship for software development and mobile application development. From a normal website to e-commerce,school management system,mobile application,etc we do this all.Openeyes IT Solution is applying entrepreneurial thinking and commercial practices to deliver reliable, innovative and affordable products and services to our customers and grow our core areas while harnessing new technologies that will take our products – and your ideas – into the future. When encouraged to think beyond the ordinary, you’ll be amazed at what you can do! We are an equal opportunity employer and all qualified applicants will receive consideration for employment without regard to race, color, religion, sex, national origin, disability status, protected veteran status, or any other characteristic protected by law.

Tuesday, March 22, 2016

about openeyes

Openeyes IT Solution, founded in January 2016, specializes in the website design,development and distribution of software and technologies for Mac OS X, iOS, Windows, and Android, SEO service. Our solutions cover business and personal productivity, desktop publishing, 3D home design.With a large team of developers, designers, QA engineers, and marketers, Openeyes IT Solution works day in and day out on developing beautiful, powerful, and user-friendly apps, as well as making sure that the word gets out to users in need of our solutions. Counting clicks and checking every pixel, we at Openeyes IT Solution strive to provide only the best apps for only the best platforms! Through our apps for iPhone, iPad, iPod, and Android, we’re also making design technology accessible to professional designers and amateur designers, homeowners, students, and casual creators — anyone who wants to create and share their ideas with the world.
Openeyes helps you make sense of the message. As the leader in business analytics software and services, Openeyes transforms your data into insights that give you a fresh perspective on your business. You can identify what’s working. Fix what isn’t. And discover new opportunities.We can help you turn large amounts of data into knowledge you can use, and we do it better than anyone. It’s no wonder an overwhelming majority of customers continue to use Openeyes year after year. We believe it’s because we hire great people to create great software and services.

Friday, March 18, 2016

Seven reasons you should use Java again

Java’s back, baby. Of course, lots of us never stopped using Java in the first place, or perhaps we weren’t allowed to. But where platform selection was elective, especially among startups and web developers, alternative platforms have offered more agility and expressiveness over the last 10 years. The likes of PHP and Ruby on Rails enable developers to do a whole lot more with less.
Times change, and 16 years on, this ain’t your father’s Java. Here’s seven reasons you should take another look at Java.

1. You can actually hire engineers

Not to be sniffed at when your Node.js Ninjas and Rails Rockstars get headhunted into the latest impossibly well-funded startup.

2. IDEs take the pain away

Eclipse and NetBeans are astonishingly powerful tools, and can mask some of the admitted horror that is Java API soup. Bend like a reed, admit you can’t know everything, and float downstream on the good ship autocomplete.

3. Language support

You don’t have to write Java to use Java. You can get all the benefits of the portable JVM runtime but scribble away in the familiar environs of Ruby or Python. It can be faster too. And that’s not to mention the newer languages aimed at modern programming such as Scala, Groovy or Clojure.

4. Android

Who can resist the little green robot? Google made a sensible choice when they chose the Java language to power what’s becoming the world’s dominant mobile phone platform. So, maybe Oracle has a billion-dollar beef with this, but programmers — new and seasoned alike — are picking up Java as mobile becomes the future of consumer software.

5. Everybody else does

Java’s ecosystem is a goldmine. Pretty much everything you want to do, there’s a library for it. Actually, there’s probably an Apache project for it. Very often the lowest impedance way to speak to the rest of the world is via a Java API.

6. It changes slowly

We’re celebrating the release of Java 7 right now. It’s been two years in the making, and frankly, there’s not a whole lot that’s changed for most people. If you can take your finger off the refresh button atHacker News for more than an hour, any software that lives longer than a year becomes a real pain to maintain when the underlying platform keeps changing. Yes, looking at you, Rails.

7. You’ll end up using it anyway

At a certain point you’ll need performance, predictability and a ready supply of engineers. Scaling, deploying and programming to the cloud are places where Java excels. Twitterfound this out, and will betalking about it at OSCON Java.

Wednesday, March 16, 2016

Why Java at Openeyes IT Solution?

Course Overview:
The Core Java technologies and application programming interfaces (APIs) are the foundation of the Java Platform, Standard Edition (Java SE). They are used in all classes of Java programming, from desktop applications to J2EE applications.
After completing this module you are ready to:
Develop Desktop applications, Networking & Multi-threaded programs in java.
Appear in SCJP exams
Update yourself with Advance frameworks of java.
Why Java at Openeyes IT Solution?
Industry Compliant Syllabus
Multi-Platform Demonstration
Product Based Training
Real-Time Case Studies
Use of Latest Tools & Technology
Workshops on New Technologies
SCJP Orientation Classes
Introduction
Programming language Types and Paradigms.
Computer Programming Hierarchy.
How Computer Architecture Affects a Language ?
Why Java ?
Flavors of Java.
Java Designing Goal.
Role of Java Programmer in Industry.
Features of Java Language.
JVM –The heart of Java
Java’s Magic Bytecode

Sunday, March 13, 2016

java sample question - Mirror Matrix


import java.io.*;
public class Mirror
{
    public static void main()throws IOException
    {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        System.out.println();
        String a[][] = new String[9][9];
        int i = 0, j = 0;
        for(i = 0;i<9;i++)
        {
            for(j = 0;j<9;j++)
            {
                if(i!=3 || i!=4 || i!=5)
                {
                    if(j!=3 || j!=4 || j!=5)
                    {
                        a[i][j] = ” “;
                    }
                }
            }
        }
        System.out.println(“Enter 9 numbers”);
        for(i = 3;i<6;i++)
        {
            for(j = 3;j<6;j++)
            {
                a[i][j] = in.readLine();
            }
        }
        for(i = 3;i<6;i++)
        {
            for(j = 0;j<3;j++)
            {
                a[i][j] = a[i][5-j];
                a[i][j+6] = a[i][5-j];
            }
        }
        for(j = 3;j<6;j++)
        {
            for(i = 0;i<3;i++)
            {
                a[i][j] = a[5-i][j];
                a[i+6][j] = a[5-i][j];
            }
        }
        for(i = 0;i<9;i++)
        {
            for(j = 0;j<9;j++)
            {
                System.out.print(a[i][j]);
            }
            System.out.println();
        }
    }
}

Saturday, March 12, 2016

java sample question- Alphabet Frequency

import java.io.*;
class FREQUENCY
{
public static void main()throws IOException
{
InputStreamReader y=new InputStreamReader(System.in);
BufferedReader x=new BufferedReader(y);
String s=new String();
int l,i,j,c=0;
System.out.println(“Enter a String:”);
s=x.readLine();
s=s.toUpperCase();
l=s.length();
for(i=65;i<=90;i++)
{
for(j=0;j0)
System.out.println(“Alphabet ” + (char)i + ” appears ” + c + ” time(s)”);
c=0;
}
}
}

Related Article  of JAVA

Friday, March 11, 2016

Java Facts

  • James Gosling is the founder of Java (in 1995) it was formally announced in 1997.
  • Java is a case sensitive language which means that the uppercase and lowercase letters are distinct.
  • Blue J is an environment of Java (IDE) developed by David Barns and Michael Kollins.
  • There are 5 types of Tokens in Java.
  • The conversion process of Java is unique, (two step).
  • Java follows UNICODE character set.
  • char type is a Unicode character stored as an unsigned number in two bytes (range 0..65,535 or ‘\u0000′..’\uFFFF’).
  • After the two // characters, Java ignores everything to the end of the line.
  • After the /* characters, Java will ignore everything until it finds a */.
  • Class and interface names start with an uppercase letter, and continue in lowercase.
  • Lowercase is used for variable and method names. If a name has multiple words, use Camel Case
  • The names of constants should be in all uppercase.
  • The wildcard * only makes the classes in this package visible, not any of the sub-packages.
  • All classes in the java.lang package are visible without an import.
  • Java programs can run on many different machines (Intel, Sparc, PowerPC, …) and many  different operating systems (Windows, Unix, Macintosh, …).
  • Java lacks a few features that some C++ programmers find useful, for example, macros and operator overloading.
  • The programs that you normally run are called applications.
  • A typical MS Windows application has an extension of .exe, whereas in Java it will usually end with a .class or .jar extension.
  • b && c is a Logical “and”. true if both operands are true, otherwise false.
  • b || c is a Logical “or”. true if either operand is true, otherwise false.
  • b? x : y is a Conditional where if b is true, the value is x, else y. x and y must be the same type.
  • +=, -=, *= … Are all binary operators called shortcut assignment.
  • s.compareTo(t)  compares String s to String t and returns <0 (negative) if s appears before t in a dictionary, 0 if they are identical in all respect and >0 (positive) if appears after t in a dictionary.
  • s.lastIndexOf(c) returns the index of last occurrence of character c in String s.
  • s.trim( ) returns a new String with white-space deleted from beginning and end of a string.
  • s.startsWith(t) returns true if String s begins with String t.
  • s.substring(i, j) returns another from index i to index j – 1.
  • The + operator joins two strings together. If either operand is String, the other is converted to String and concatenated with it.
  • s.lastIndexOf(t, i) returns the index of last occurrence of character t on or before index i in String s.
  • do-while loop is an exit controlled loop hence executes at least one time before testing and so executes once even if the condition is false.
  • The while statement tests the expression before entering the loop. If the expression evaluates to true, it executes the body of the while. If it is false, terminates the loop and continues with the rest of the program.
  • All loop statements can be labeled, so that break and continue can be used from any nesting depth.
  • To decide which method to call, Java looks at the method signature (method name, type and order of the parameters).
  • If a method is declared void then there is no need for a return statement, but if we still use a return; will have same effect.
  • Math.min(x, y) Returns minimum of x and y and the return type depends upon the arguments selected, same with Math.max( )
  • Math.floor(d) Returns the closest integer-valued double which is equal to or less than d.
  • Math.ceil(d) Returns the closest integer-valued double which is equal to or greater than d.
  • Math.round(f) Returns the int which is closest in value to the float f.
  • Math.rint(d) Returns the closest integer-valued double which is equal to or greater than d.
  • A StringTokenizer constructor takes a string to break into tokens and returns a StringTokenizer object for that string, the breaking of string depends on de-limiter which by default is space.
  • BufferedReader & BufferedWriter are used for reading and writing text files.
  • There are some characters that can’t be written directly in a string, such characters are called non-printable characters. The backslash (‘\’) character if preceded creates escape sequence and then becomes printable.
  • Escape combinations:
    • \n : newline,
    • \\  : backslash,
    • \’ : single quote,
    • \” : double quote,
    • \r : carriage return,
    • \t : tab,
    • \b : backspace,
    • \f  : form feed.
  • Putting two strings together to make a third string is called concatenation.
  • In Java the concatenation operator is ‘+’, or a String function concat( )
  • An instance variable is a variable that is defined in a class as non static, but outside the method.
  • When an object is created, a constructor for that class is called. If no constructor is defined, a default constructor is called.
  • If a subclass redefines a method defined in a superclass, the method in the superclass is overridden.
  • A class which doesn’t define all it’s methods is called an abstract class.
  • An interface is a list of methods that must be implemented. A class that implements an interface must define all those methods.
  • There is no return type given in a constructor header/prototype. The value is this object itself so there is no need for a return value.
  • The use of super to call a constructor in a parent class. Calling the constructor for the superclass must be the first statement in the body of a constructor.
  • An interface is similar to a class without instance and static variables (static final constants are allowed), and without method bodies.
  • br.readLine() Returns next input line without new line char(s) or null if no more input this line may throw IOException.
  • An array can store many similar values in memory. Each value can be accessed by specifying a subscript or index.
  • If the array subscript is outside this range, Java throws ArrayIndexOutOfBoundsException.
  • When you declare an array, you can also allocate a pre initialized array object in the same statement.
  • The order in which expressions are evaluated is basically left to right, with the exception of the assignment operators.
  • If you need to do the same set of tasks repeatedly then we create a method to do it and call the method each time you have to do that task.
  • Because local variables and statements of a method can not been seen from outside the method, they (and their complexity) are hidden from other parts of the program, which prevents accidental errors or confusion.
  • Unary operators have higher precedence than binary operators.