Skip to main content

Home/ Programming Everything!/ Group items tagged java

Rss Feed Group items tagged

roydesuza

All possible ways to run java program. - 0 views

  •  
    During compilation phase Java compiler compiles the source code and generates bytecode. This intermediate bytecode is saved in form of a .class file. In second phase, Java virtual machine (JVM) also called Java interpreter takes the .class as input and generates output by executing the bytecode. Java is an object oriented programming language; therefore, a program in Java is made of one or more classes. No matter how trivial a Java program is, it must be written in form of a class.
Aasemoon =)

Vale Java? Scala Vala palava - O'Reilly Broadcast - 0 views

  • Dave Megginson (who drove the development of the SAX API that will be familiar to many XML developers who use Java) recently wrote Java is dead. Java stood out as a programming language (though not as a platform) in that Sun had refused to standardize it through an independent and reputable standards organization (a lot of the hard work had been done in one attempt to put it through ECMA and one to put it through ISO, both times Sun pulled out and eventually made their highly unsatisfactory JCP Java Community Process system.) Without the ability to alter Java significantly in ways that might go against their druthers, Java suffered two major forks (Microsoft's J++ then its C#, and IBM's SWT) where significant players disagreed with a major component (the graphics library). Java succeeded in middleware, and but failed to take advantage of the rise of browsers on the deskop: their HTML parser was great for the middle 1990s but was deliberately neglected to the point of being unusable: it is hard not to see this as a deliberate attempt by Sun to leave the browser market to its friends and enemies. I really liked Java, and bet my company on it (in a sense): I would not do that today.
roydesuza

Interface in java - 0 views

  •  
    In java, an interface is a blueprint of a class. It has provide only static constants and abstract methods in java.The interface is a mechanism to achieve fully abstraction. There can be only abstract methods in interface, not method body. An Interface is used to achieve fully abstraction and multiple inheritance in Java.Java Interface represents IS-A relationship. Interface is also not be instantiated just like abstract class.By default, Interface fields are public, static and final and methods are public abstract in java.
roydesuza

Arrays and its limitations - 0 views

  •  
    Basically, array is a collection of similar type of elements that have contiguous memory location. JAVA ARRAY is an object the contains elements of similar data type. It is a data structure where we store similar elements. We can store only fixed set of elements in a java array.Array in java is index based, first element of the array is stored at 0 index.
Aasemoon =)

'scala' Info - Stack Overflow - 0 views

  • Scala is a general purpose programming language principally targeting the Java Virtual Machine. Designed to express common programming patterns in a concise, elegant, and type-safe way, it fuses both imperative and functional programming styles. Its key features are: statically typed; advanced type-system with type inference; function types; pattern-matching; implicit parameters and conversions; operator overloading; full interop with Java
  • cala is a general purpose programming language principally targeting the Java Virtual Machine. Designed to express common programming patterns in a concise, elegant, and type-safe way, it fuses both imperative and functional programming styles. Its key features are: statically typed; advanced type-system with type inference; function types; pattern-matching; implicit parameters and conversions; operator overloading; full interop with Java
roydesuza

FileWriter & FileReader class in Java - 0 views

  •  
    FileWriter and FileReader class is used to for read and write from a text files. Both classes are character-oriented classes in file handling in java. If you working on textual information in the file then, it's better approach.
Aasemoon =)

Java Concurrency - Part 6 : Atomic Variables | @Blog("Baptiste Wicht") - 0 views

  • When a data (typically a variable) can be accessed by several threads, you must synchronize the access to the data to ensure visibility and correctness.
Andrey Karpov

Online IDE & Debugging Tool - 0 views

shared by Andrey Karpov on 01 Apr 13 - Cached
  •  
    C/C++, Java, PHP, Python, Perl and 40+ compilers and interpreters
Aasemoon =)

Functional Programming Concepts in JDK 7 | Javalobby - 0 views

  • There's much excitement about JDK 7 and in particular Lambdas! I've waded through the bloat to help you get an understanding of it. If you search for JDK 7 in your favourite search engine the chances are you'll hit the controversies surrounding lambadas in Java fairly early on in your hunt. It's a contentious subject, which means it's getting a lot of attention from a lot of clever people, but this in turn makes the process slow and adds difficulty in making decisions. My take is that lambdas will be in JDK 7 - you can see plenty of evidence of that around the web and in the snapshot builds. That said, no decision is concrete (which is a wise tip from The Pragmatic Programmer no less!). This article is aimed at those who don't know much about functional programming or what Lambdas, Closures or Currying are and want to get 'primed'.
Aasemoon =)

A Call for 'Fresh Scala' | Javalobby - 0 views

  • With the GA release of Scala 2.8 getting very close, David Pollak, the creator of the Scala-based web framework: Lift, has announced a Scala community initiative that  will have an equally large impact on Scala developers.  The Fresh Scala Initiative aims to address the issue of version fragility in the ecosystem.  You may have heard that Scala 2.8 is not binary compatible with the 2.7 branch.  Therefore, some community members have banded together to maintain a repository and provide nightly builds of popular Scala library collections to build against Scala 2.8.  
Aasemoon =)

Xtext - A Language Development Framework | Eclipse Live - 0 views

  • On June 23, the new Xtext version 1.0 will be released as part of Eclipse's annual release train. During the last year Xtext has grown from a tiny DSL editor generator, to a full-blown language development framework. With Xtext 1.0 you can develop complex programming languages and you not only get an advanced editor, but a complete integrated development environment (IDE) based on Eclipse. The new workspace indexer and the builder infrastructure enable sophisticated IDE features, as we will demonstrate in this webinar. The new JVM-types allow you to link to and integrate with any Java element and Eclipse's JDT. During the webinar we will give a short overview on Xtext and how it works behind the scenes. We will demo different aspects of the framework’s features and show how to implement an interpreter for arithmetic expressions. The 60 minutes will be a great opportunity for you to get in touch with the Xtext core committers, ask questions and learn about the new and noteworthy features in version 1.0.
Aasemoon =)

One Div Zero: Why Scala's "Option" and Haskell's "Maybe" types will save you from null - 0 views

  • First, right off the top here: Scala has true blue Java-like null; any reference may be null. Its presence muddies the water quite a bit. But since Beust's article explicitly talks about Haskell he's clearly not talking about that aspect of Scala because Haskell doesn't have null. I'll get back to Scala's null at the end but for now pretend it doesn't exist.Second, just to set the record straight: "Option" has roots in programming languages as far back as ML. Both Haskell's "Maybe" and Scala's "Option" (and F#'s "Option" and others) trace their ancestry to it.
Aasemoon =)

Flare | Data Visualization for the Web - 0 views

  • Flare is an ActionScript library for creating visualizations that run in the Adobe Flash Player. From basic charts and graphs to complex interactive graphics, the toolkit supports data management, visual encoding, animation, and interaction techniques. Even better, flare features a modular design that lets developers create customized visualization techniques without having to reinvent the wheel. View the demos and sample applications to see a few of the visualizations that flare makes it easy to build. To begin making your own visualizations, download flare and work through the tutorial. You should also get familiar with the API documentation. Need more help? Visit the help forum (you'll need a SourceForge login to post). Flare is open-source software released under a BSD license, meaning it can be freely deployed and modified (and even sold for $$). Flare's design was adapted from its predecessor prefuse, a visualization toolkit for Java
Aasemoon =)

"VMKit" JVM and .Net runtimes for LLVM - 0 views

  • The VMKit project is an implementation of a JVM and CLI virtual machine (.Net is an implementation of the CLI). It translates Java bytecode and MSIL in the LLVM IR and uses the LLVM framework for optimizations and compilation. For garbage collection, it uses MMTk. You can get and build the source today.
1 - 16 of 16
Showing 20 items per page