The document discusses interfaces in Java and provides an example. It defines an interface as a blueprint for a class that specifies method signatures but leaves the implementation empty. The document then provides an example program with a PhoneUser class that depends on a Phone interface that is implemented by Xiaomi and iPhone classes. Using the interface allows the PhoneUser to work with different phone classes instead of just one specific class. The document also outlines some rules for interfaces like not allowing variables or private/protected modifiers.
This is about my professional experience as a web developer, don't do my mistake.
Because now you have a shortcut, and know the right thing, I can bet, in next 2 or 3 years, you can better than me.
This is about my professional experience as a web developer, don't do my mistake.
Because now you have a shortcut, and know the right thing, I can bet, in next 2 or 3 years, you can better than me.
Ubercool, pixel perfct & slick design… that just doesn't workSamuel Bednar
How talked about my happy days of graphic design, how I had thought everything had been about nice fonts and colors. I didn’t bother with testing. Now when I look back, I can see the path of destruction my carefree days have left. Here are 99 problems of graphic designer.
Framer for the win - Using Framer prototypes for your app project. (For Melbo...Jinju Jang
This presentation is made for Melbourne Cocoaheads, where all iOS developers in town meets up once a month.
Since there are lots of prototyping tools released recently, I thought it would be helpful to share some benefits about using Framer for helping communications around design mock-ups better.
Special thanks for my client who gave me permission to showcase the work.
This post is about the showing the directions to take in learning how to build iOS apps much faster. A short cut. Based from a guy who got lost lots of times!
This is the slide presenting about how to use Python programming language to create an desktop application at a very basic level.
Target: Non-IT background people who interested in programming.
An update about 3D Touch - What is it and what can we do with it?Soda studio
A detailed presentation about possibilities 3D touch offers. We go in depth about how Apple's 3D touch is meant to be used and how it's actually used now. Next we check out some creative uses and think of possible ways to apply 3D touch in the future.
LESSON 2. CONDITIONAL LOGIC, IF ELSE STATEMENTS, SELECTION, DEBUGGING
Introduction to, with examples, conditional logic and the use of IF and ELSE statements. Look at SELECTION in game design. Learn about Debugging and Error Checking. Analyse the use of a flow chart and how to design before implementation. Discuss: Video gaming addiction! Create a password checker and a username and password (login) app. Learn about the use of ELIF. Learn about Boolean variables and their use. Learn about Multiple comparisons using and/or. Includes a suggested videos, ‘Big ideas’ discussion, and HW/research projects section. Discussion on Artificial Intelligence and Robotics.
Cis 1403 lab1- the process of programmingHamad Odhabi
This lab aims to develop students knowledge and skills needed to create a simple programming code. It covers the process of developing computer programs starting from a simple analysis of the problem, identifying outputs, inputs, and design process/algorithm, convert algorithm to code, testing, and documentation. The student will be introduced to the Java program structure, numerical variable and high-level introduction to data types. The lab does not go into depth explaining the data types and memory storage. These will be discussed in the upcoming labs. Also, the student will be introduced to the REPL cloud environment that will be used to create a simple application.
Automatic reference counting (arc) and memory management in swiftInnovationM
Memory management is a key factor when we developing apps. If a program is using a lot of memory it can affect badly on your device making apps run slowly or even cause crashes. So for that in swift, you can work with Automatic Reference Counting (ARC) to keep your apps memory usage minimal. This doesn’t mean you can forget about the memory in your app but it does take care of most things for you.
VIDEO OF THE TALK: https://youtu.be/oeSsyb-tzfo
Understanding your users' behaviours, needs and motivations is key to design a kickass web product.
Learn about quick, easy and efficient user research methods to build user-centered products and services.
This workshop will be led by Charlotte Breton Schreiner, Senior UX Architect.
Whether you are an entrepreneur building a prototype, a developer crafting a product during a hackathon or a designer who wants to test ideas with end users, this workshop is for you.
We will cover accessible user research methods that anyone can apply without any prior UX knowledge. During the workshop, you will have the opportunity to try some of these methods with the other participants and realize how powerful taking a user-centered approach can be.
Le Wagon Workshop, Tuesday 24th October 2017
Ubercool, pixel perfct & slick design… that just doesn't workSamuel Bednar
How talked about my happy days of graphic design, how I had thought everything had been about nice fonts and colors. I didn’t bother with testing. Now when I look back, I can see the path of destruction my carefree days have left. Here are 99 problems of graphic designer.
Framer for the win - Using Framer prototypes for your app project. (For Melbo...Jinju Jang
This presentation is made for Melbourne Cocoaheads, where all iOS developers in town meets up once a month.
Since there are lots of prototyping tools released recently, I thought it would be helpful to share some benefits about using Framer for helping communications around design mock-ups better.
Special thanks for my client who gave me permission to showcase the work.
This post is about the showing the directions to take in learning how to build iOS apps much faster. A short cut. Based from a guy who got lost lots of times!
This is the slide presenting about how to use Python programming language to create an desktop application at a very basic level.
Target: Non-IT background people who interested in programming.
An update about 3D Touch - What is it and what can we do with it?Soda studio
A detailed presentation about possibilities 3D touch offers. We go in depth about how Apple's 3D touch is meant to be used and how it's actually used now. Next we check out some creative uses and think of possible ways to apply 3D touch in the future.
LESSON 2. CONDITIONAL LOGIC, IF ELSE STATEMENTS, SELECTION, DEBUGGING
Introduction to, with examples, conditional logic and the use of IF and ELSE statements. Look at SELECTION in game design. Learn about Debugging and Error Checking. Analyse the use of a flow chart and how to design before implementation. Discuss: Video gaming addiction! Create a password checker and a username and password (login) app. Learn about the use of ELIF. Learn about Boolean variables and their use. Learn about Multiple comparisons using and/or. Includes a suggested videos, ‘Big ideas’ discussion, and HW/research projects section. Discussion on Artificial Intelligence and Robotics.
Cis 1403 lab1- the process of programmingHamad Odhabi
This lab aims to develop students knowledge and skills needed to create a simple programming code. It covers the process of developing computer programs starting from a simple analysis of the problem, identifying outputs, inputs, and design process/algorithm, convert algorithm to code, testing, and documentation. The student will be introduced to the Java program structure, numerical variable and high-level introduction to data types. The lab does not go into depth explaining the data types and memory storage. These will be discussed in the upcoming labs. Also, the student will be introduced to the REPL cloud environment that will be used to create a simple application.
Automatic reference counting (arc) and memory management in swiftInnovationM
Memory management is a key factor when we developing apps. If a program is using a lot of memory it can affect badly on your device making apps run slowly or even cause crashes. So for that in swift, you can work with Automatic Reference Counting (ARC) to keep your apps memory usage minimal. This doesn’t mean you can forget about the memory in your app but it does take care of most things for you.
VIDEO OF THE TALK: https://youtu.be/oeSsyb-tzfo
Understanding your users' behaviours, needs and motivations is key to design a kickass web product.
Learn about quick, easy and efficient user research methods to build user-centered products and services.
This workshop will be led by Charlotte Breton Schreiner, Senior UX Architect.
Whether you are an entrepreneur building a prototype, a developer crafting a product during a hackathon or a designer who wants to test ideas with end users, this workshop is for you.
We will cover accessible user research methods that anyone can apply without any prior UX knowledge. During the workshop, you will have the opportunity to try some of these methods with the other participants and realize how powerful taking a user-centered approach can be.
Le Wagon Workshop, Tuesday 24th October 2017
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
2. • Ada yang bilang gini:
• “Interface adalah blue print dari class. Isi method-nya kosong dan nanti akan
diimplementasikan pada class lain.”
• Kamu bisa paham maksudnya?
• Tidak?
• Sama.. hehe 😄
• Ya, seperti itulah penjelasan yang saya terima saat baru awal belajar Java dan
OOP dulu. Bukan tambah paham, malah bikin bingung.
• Interface memang tak memiliki isi method dan pada tutorial sebelumnya kita
juga pakai interface untuk beberapa program java.
• Tapi bukan itu sebenarnya kegunaan utama dari Interface.
• Lalu apa donk?
• Mari kita bahas.
3. APA ITU INTERFACE?
• Interface terdiri dari dua kata:
• Inter = antar
• Face = muka
• Jadi interface adalah antarmuka.
• Kata ini mungkin sering kamu dengar. Contohnya seperti: GUI (Graphical User Interface) dan CLI
(Command Line Interface).
• Secara umum, interface berfungsi sebagai penghubung antara sesuatu yang ‘abstrak’ dengan sesuatu
yang nyata.
• Contoh:
• Coba perhatikan handphone-mu, ada berapa tombol di sana?
• Kalau HP zaman sekarang, paling cuma ada dua.. yakni tombol power dan tombol volume.
• Tombol-tombol inilah yang dimaksud interface. Sementara isi dalam HP-nya, kamu tak peduli atau tak
akan tahu seberapa kompleks dan abstrak sistem yang ada di sana.
4.
5. • Saat kamu menekan tombol di HP mu, ada beberapa hal yang mungkin terjadi:
• HP menyala;
• HP mati;
• Suara HP tambah besar;
• Suara HP mengecil;
• Mengambil gambar dari kamera; dll.
• Ini tergantung bagaimana implementasi yang diberikan untuk tombol-tombol tersebut.
• Beda merek HP, beda lagi cara mereka mengimplementasikannya.
• Misal pada HP tertentu, jika menekan tombol volume 3x.. maka akan mengambil screenshot.
Sementara di HP merek lain, kita tidak bisa melakukan ini.
• Nah, konsep ini juga ada di dalam OOP.
• Bagaimana Contohnya?
• Mari kita lihat:
6. CONTOH PROGRAM INTERFACE
• Biar nyambung dengan penjelasan saya yang tadi, kita akan pakai contoh
Handphone.
• Jadi.. ada dua objek yang akan kita hubungkan dengan interface.
• Yakni manusia dan handphone. Manusianya kita sebut saja sebagai PhoneUser.
Karena dia akan menggunakan objek HP
.
• Maka dapat kita buat class diagramnya seperti ini:
7.
8. • Sekarang mari kita coba buat dalam bentuk kode. Buatlah proyek baru dengan
nama ContohInterface di Netbeans atau text editor apapun.
14. • Sekarang coba jalankan class Main. Caranya, Klik kanan lalu pilih Run File atau bisa
juga dengan menekan Shift+F6.
• Maka hasilnya:
• Kalau kita perhatikan di dalam method main() kita hanya menggunakan objek dari
class PhoneUser saja.
15. • Coba lihat kode-kode ini:
• Saat kita memanggil method-method ini, maka method yang ada di dalam objek
redmiNote8 yang akan dipanggil.
• Ini karena mereka terhubung dengan interface.
• Lalu pertanyaannya:
16. MENGAPA HARUS PAKAI
INTERFACE?
• Sebenarnya kita tidak harus selalu menggunakan interface. Tapi dalam kasus
tertentu, interface akan sangat berguna.
• Misalnya gini:
• Kita tahu objek PhoneUser membutuhkan objek dari handphone. Tanpa objek
handphone, si objek user nggak akan bisa kita buat.
• Ini karena kita menetapkan pada konstruktornya.
• Btw, ini juga disebut dengan hubungan dependency.
17. • Nah, di sana kita menggunakan interface Phone untuk membuat objek
dependency-nya.
• Kalau gak pakai interface memangnya kenapa?
• Untuk menjawab pertanyaan ini, mari kita coba ubah Phone menjadi Xiaomi.
18. • Apa yang akan terjadi?
• Untuk saat ini tidak akan terjadi apa-apa. Tapi sekarang bagaimana kalau kita punya
objek baru dari class yang mengimplementasikan interface Phone juga.
• Kita sebut saja objek baru tersebut adalah iPhoneX yang merupakan instance dari
class IPhone.
19. • Maka object iPhoneX
tidak akan bisa diberikan
kepada PhoneUser. Karena
di konstruktornya dia cuma
bisa pakai Xiaomi saja.
Jadi.. Mengapa kita harus
pakai interface?
Interface akan membuat si objek PhoneUser bisa menggunaakn objek hand-phone
apapun dengan syarat objek handphone tersebut harus mengimple-mentasikan
method dari interface Phone. Jelas?
20. HAL-HAL YANG TIDAK BOLEH
DILAKUKAN DI INTERFACE
• Ada beberapa hal yang tidak boleh kamu lakukan saat membuat interface:
• Jangan buat variabel di dalam interface, tapi membuat konstanta boleh;
• Jangan mengisi method-nya, cukup tuliskan nama method, tipe data, dan
parameter saja. Tapi untuk default metod boleh punya isi.
• Contoh:
• Jangan berikan modifier privete atauapun protected pada method dan konstanta
yang ada di dalam interface.
• Interface tidak bisa dibuat objek instance-nya dengan kata kunci new.
• Kalau dilanggar gimana?
• Ya programnya akan error!
21. APA SELANJUTNYA?
• Jadi kesimpulannya:
• Interface merupakan penghubung antar objek. Interface bersifat abstrak, sehingga
objek yang menggunakannya tidak akan perduli bagaimana ia diimplementasikan.
• Karena bersifat abstrak, interface tidak bisa dibuat objek instance dengan kata
kunci new.
• Interface sebenarnya mengamalkan prinsip Abstraksi dan Enkapsulasi
(pembungkusan).
• Nah, itu saja yang bisa saya bagikan tentang interface.
• Selanjutnya, silahkan kalian praktekkan program interface di atas.