---
# System prepended metadata

title: Just testing this out.

---

# Just testing this out.
This is where I'm going to keep my notes while I'm studying. 
# You can edit the document too or leave a comment!


```
// Your code goes here
 Toast.makeText(this, "Can you see me?", 
 Toast.LENGTH_SHORT).show()
 
 Log.i("info", "creating the app")
}
```

# Classes

Reusable code blueprints can transform into 
objects are called classes. Classes are contained in these packages. We will see in our very first app how we can easily import other people's packages, along with specific classes from those packages for use in our projects. A class will usually be contained in its own file with the same name as the class.

# Functions
In Kotlin, we further break up our classes into sections that perform the different actions of our class. We call these action-oriented sections
functions. It is the functions of the class that we will use to access the functionality provided within all the millions of lines of Android code. We do not need to read the code. We just need to know which class has what we need, which package it is in, and which function from within the class gives us
precisely the result we are after. 
We can think of the structure of the code we will write ourselves in the same way, although we will usually have just one package per app. 
Of course, because of the object-oriented nature of Kotlin, we will only be using selected parts from this API. Note also that each class has its own distinct data. Typically, if you want access to the data in a class, you need to have an object 
of that class.

![](https://i.imgur.com/ndLt9a8.png)

- Black Hat Python, 2nd Edition
Justin Seitz & Tim Arnold [Justin Seitz]
- https://ca1lib.org/book/16590903/05be43
# Here is a book on Python using the Kali Linux operating system.