DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
  • submit to reddit
Tinu Awopetu07/27/09
6 replies

NetBeans IDE 6.7.1 with JavaFX Now Available for Download!

The NetBeans Team is pleased to announce the release of NetBeans IDE 6.7.1, which supports the latest JavaFX SDK. Download NetBeans 6.7.1 (A JavaFX-only download bundle is also available.) NetBeans IDE 6.7.1 is an update to NetBeans IDE 6.7 and includes the...

Rick Ross02/14/08
16 replies

Welcome to DZone's new IndicZone community for Indian IT Pros

Let me welcome all of you to the new DZone community for one of the most important and fastest growing groups in the worldwide IT scene: Indian developers and IT professionals. No matter where you look, if something interesting is happening on the IT and...


public class StaticExample {
	public static String company = "Infosys Limited";
	public String name;
	public int id;

	public StaticExample(String name, int id) { = name; = id;

	public void show() {
		System.out.println("Employee Name :" + name + "\nEmployee Id :" + id
				+ "\nEmployee company :" + company);

	public static void main(String arg[]) {
		StaticExample se = new StaticExample("Pradeep Yadav", 99231);;


Output :

Employee Name :Pradeep Yadav
Employee Id :99231
Employee company :Infosys Limited
Gil Zilberfeld11/25/14
0 replies

How To Make The Best Decisions

We can get better at it, by making more of them. Learning from mistakes and successes. We can also learn from observing how decisions are made in our different circles, and try to learn how to push a decision through or derail one.

Mike Cottmeyer11/25/14
0 replies

The Napoleon Corporal

In my previous post, Replacing Backlog Grooming, I wrote about leveraging a Product Owner (PO) Team instead of the “Scrum” team in Progression Workshops (backlog grooming). It doesn’t matter if you’re doing textbook Scrum or something at scale. Your people still need a shared understanding. If not, you’re going to start seeing a lot of delays and a lot of rework.

Adi Gaskell11/25/14
0 replies

The different faces of a crowdfunding backer

As crowdsourcing has taken off, there have been numerous attempts to try and understand who engages in crowd based activities, what motivates them, and how they go about their work. One area that hasn’t received quite such intense scrutiny is in the crowdfunding market.

Hearsay Social11/25/14
0 replies

Research: Financial advisors improve client retention and increase AUM with digital and social tools

At Hearsay Social, one of the most frequent questions we hear from the financial services industry is this: “What is the ROI of social media?”

Adi Gaskell11/25/14
0 replies

Citizen science project aims to unlock mysteries of the genome

The earliest citizen science websites were undoubtedly the various distributed computing projects that emerged around the turn of the millennium. What began with Seti@Home quickly blossomed into a range of projects looking at everything from protein folding to predicting climate change.

Julia Wunder11/24/14
0 replies

Java Rock Stars James Gosling and Bruno Souza Jump Aboard the Jelastic Train

Father of Java James Gosling and Brazilian JavaMan Bruno Souza enthusiastically endorse polyglot PaaS with Java enterprise level support

Gergo Bogdan11/24/14
0 replies

OOP in Python - Part 1

Object Oriented Programming is a programming paradigm which creates “objects” during the phase of programming, by this trying to model the entities from the problem which is need to be solved.

Maneesh Joshi11/24/14
0 replies

Top 5 Mobile APM Myths: Myths 3-5

Typically, mobile app developers accept some things they feel they can’t change — ratings, end-to-end visibility, user experience, and so on. However, these can all be avoided and under your control with the right mAPM solution to give you the proper insights to give your users a seamless experience.

Interact Intran...11/24/14
0 replies

Is it time for a social intranet yet?

Think about your average day in work, how much time do you spend answering repetitive questions or correcting other colleagues mistakes because the correct information was not readily available?

Adi Gaskell11/24/14
0 replies

Millennials are perceived as more innovative (and why that’s bad)

For some time now there has been a lot of responsibility heaped on the shoulders of the millennial generation. Despite a number of reports highlighting that millennials are not really any more versed in the ways of social business than the rest of us, there has been a sense that the transition to a ‘better’ way of working rests on their shoulders.

Mind Mixer11/24/14
0 replies

Social Media is Your Friend

Those blue boxes are ubiquitous. There’s the bird, cramming her valuable insight into only 140 characters. That lower case “f,” reminding all of us that ex-boyfriends get married and that videos of kittens are really funny (see the word cloud below).

Adinath Raveend...11/23/14
1 replies

OACC 2.0.0 new alpha 4 release, adds comprehensive pluggable authentication support.

OACC  is a powerful, new Java Application Security Framework ( This release adds comprehensive pluggable authentication provider support. An application using OACC can now provide a custom authentication provider implementation...

Mark Needham11/23/14
0 replies

R: Refactoring to dplyr

I’ve been looking back over some of the early code I wrote using R before I knew about the dplyr library and thought it’d be an interesting exercise to refactor some of the snippets.

Fahim Farook11/23/14
1 replies

Spring - Accessing injected properties from constructor

Designing Spring for accessing properties from constructor.

Adi Gaskell11/23/14
0 replies

A learning network for change makers

Positive Deviance is a concept that was coined by researcher Richard Pascale. It suggests that within any field, there will be pockets of excellence, whereby things are done exceptionally well. The key, therefore, is to locate those deviants, and find out what it is about them that enables them to succeed in the same circumstances wherein others are not.

Matt Ballantine11/23/14
0 replies

Engineering serendipity

In the year and a half in which I have been building my business, I’ve had many great plans that have resulted in nothing (or, at least, nothing yet). In the same period my most successful and profitable client relationships have emerged seemingly by chance.

Adi Gaskell11/23/14
0 replies

Is open innovation simply looking under the streetlight?

When it comes to having creative thoughts and innovative ideas, there can often be a perception that we need to look far outside of our traditional field to find that bright idea. After all, if the answer is right under our feet, can it really be that revolutionary?